Resolve hung logouts and data loss by configuring TimeoutStopSec for systemd user units during PAM session termination.